<?php
    include_once '../config.php';

    if ($_COOKIE['LOG'] == false) {
        header('Location: ../index.php');
    }

    include '../layout/header.php';
    $datebis = date('Y')-1;
?>
<body>
    <div data-role="page">
        <div data-role="header" data-theme="b" class="ui-overlay-shadow">
            <h1>Archive</h1>
            <a href="../index.php" data-role="button" data-icon="home" class="ui-btn-left" data-theme="a">Home</a>
        </div>
        <div data-role="content" data-theme="c">
            <h2>Projektliste 2005 - <?php echo $datebis; ?></h2><br />
            <ul data-role="listview" data-inset="true" data-filter="true" data-filter-placeholder="Projekt suchen..." data-filter-theme="c">
            <?php
                include_once 'list/archive_list.php';
            ?>
            </ul>
        </div>
    </div>
</body>
</html>